/**

 * @author admin

 * 2014年7月5日

 */

package com.tmall.testgen.common.bo.interact.back;

import java.io.Serializable;

public class TransferCarFromServer  implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 7164430010500813996L;
	/**
	 * userId
	 */
	public final static int TYPE_USER_ID=1;
	/**
	 * 拦截信息
	 */
	public final static int TYPE_INTERCEPT_INFO=2;
	/**
	 * 拦截的刷新信息
	 */
	public final static int TYPE_INTERCEPT_COLLECTION=3;
	/**
	 * 已经加载的类和访法 
	 */
	public final static int TYPE_LOADED_CLASS_AND_METHOD=4;
	/**
	 * 连接成功信息
	 */
	public final static int TYPE_CONNECTION_SUCC_RESULT=5; 
	
	/**
	 * 命令响应信息
	 */
	public final static int TYPE_SEND_COMMOND_RESULT=6; 
	
	
	
	
//	/**
//	 * 中转机返回的虚拟机列表
//	 */
//	public final static int TYPE_TRANSFER_JVM_LIST_RESULT=7;
//	
//	/**
//	 * 
//	 */
//	public final static int TYPE_TRANSFER_ATTATCH_JVM_RESULT=8;
	
	public TransferCarFromServer(int type,Object data){
		this.type=type;
		this.data=data;
	}
	
	public TransferCarFromServer(Object data){
	    this.data=data;
	}
	
	private int type;
	
	private Object data;

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public Object getData() {
		return data;
	}

	public void setData(Object data) {
		this.data = data;
	}
	
	
	
}
